Complementary Reimagined - Better Than Ocelots patch
====================================================

WHAT THIS IS

This is your own Complementary Reimagined pack with two files changed, so that the red
charge bar on the Better Than Ocelots Generator glows the way a command block's face or a
lit furnace's grate glows under this pack.

Install it exactly like the original: drop the zip in .minecraft/shaderpacks and select it.
It replaces the unpatched copy - do not run both.

WHAT CHANGED (two files, nothing else)

1. shaders/block.properties
   Adds one line, block.10461, listing the Generator's fifteen RUNNING blockstates
   (charge=1..15, paused=false). The empty state and the paused state are deliberately
   left out: neither is "on", and the empty front carries the same dark red pixels the
   fade ends on, so including them would make a dead generator glow.

   The line is written as fifteen space-separated entries rather than one entry with a
   comma-separated property list, because that is the form this file already uses for
   cauldron:level and chorus_flower:age.

2. shaders/lib/materials/materialHandling/terrainIPBR.glsl
   Adds a branch for material 10461 inside the leaf that already handles IDs 10460-10463.
   It re-reads the texture at LOD 0 (so mipmap blur cannot smear the bar's colour into the
   casing beside it - the same guard the command block case uses), then raises emission
   only on fragments where green and blue are near zero and red is above 0.22.

   That test isolates the twelve bar pixels exactly. Everything else on the block - copper
   frame, grey casing, orange battery - carries real green and blue. The 0.22 floor is
   there because the art has two pixels of (50,0,0) under the battery that are NOT part of
   the bar and never fade; the bar's darkest stage is (61,0,0) = 0.239 and those are 0.196,
   so 0.22 splits them with about 5/255 of margin either side.

   Emission scales with that pixel's own red, so the glow dims as the battery drains
   instead of sitting at a constant glare.

IF YOU UPDATE COMPLEMENTARY

These changes will be gone. They are small and self-contained: search either file for
"10461" and re-apply.
